using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing;

namespace RemoveMine.Entities
{
    public enum GiaTriOCo { Zero, Mot, Hai, Ba, Bon, Nam, Sau, Bay, Tam, Bom }
    public enum HanhDong { ChuaMo, Mo, DatCo }
    public enum TinhTrang { thang, chua} 
    //khoi tao DTO
    public struct DoKhoDTO
    {
        private int _hang;

        public int Hang
        {
            get { return _hang; }
            set { _hang = value; }
        }
        private int _cot;

        public int Cot
        {
            get { return _cot; }
            set { _cot = value; }
        }
        private int _somin;

        public int Somin
        {
            get { return _somin; }
            set { _somin = value; }
        }
        public DoKhoDTO(int hang, int cot, int somin)
        {
            _hang = hang; 
            _cot = cot; 
            _somin = somin;
        }
    }
    class OcoDTO
    {
        private GiaTriOCo _giatri;

        public GiaTriOCo Giatri
        {
            get { return _giatri; }
            set { _giatri = value; }
        }
        private HanhDong _hanhdong;

        public HanhDong Hanhdong
        {
            get { return _hanhdong; }
            set { _hanhdong = value; }
        }
        private Point _toado;

        public Point Toado
        {
            get { return _toado; }
            set { _toado = value; }
        }

        public OcoDTO(Point toado, GiaTriOCo giatri)
        {
            _toado = toado; _giatri = giatri;
            _hanhdong = HanhDong.ChuaMo;

        }
        public OcoDTO(Point toado, GiaTriOCo giatri, HanhDong hanhdong)
        {
            _toado = toado;
            _giatri = giatri;
            _hanhdong = hanhdong;
        }
      //ket thuc
    }
}
